<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=750, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>会员推广中心</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            font-size: 28px;
            width: 750px;
            overflow-x: hidden;
        }
        
        .container {
            width: 750px;
            margin: 0 auto;
            padding-bottom: 100px;
        }
        
        /* 顶部用户信息 */
        .user-header {
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            color: white;
            padding: 40px 30px;
            position: relative;
            border-radius: 0 0 40px 40px;
            box-shadow: 0 10px 30px rgba(37, 117, 252, 0.2);
        }
        
        .user-info {
            display: flex;
            align-items: center;
            margin-bottom: 30px;
        }
        
        .avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 4px solid rgba(255, 255, 255, 0.3);
            background: #fff;
            overflow: hidden;
            margin-right: 30px;
        }
        
        .avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .user-detail h2 {
            font-size: 40px;
            margin-bottom: 10px;
            font-weight: bold;
        }
        
        .user-detail p {
            font-size: 28px;
            opacity: 0.9;
            display: flex;
            align-items: center;
        }
        
        .vip-badge {
            background: linear-gradient(to right, #ffd700, #ffb400);
            color: #8a6500;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 24px;
            font-weight: bold;
            margin-left: 15px;
        }
        
        .wallet-info {
            background: rgba(255, 255, 255, 0.15);
            border-radius: 20px;
            padding: 25px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .balance {
            text-align: center;
        }
        
        .balance-label {
            font-size: 26px;
            opacity: 0.8;
            margin-bottom: 10px;
        }
        
        .balance-amount {
            font-size: 40px;
            font-weight: bold;
        }
        
        .withdraw-btn {
            background: white;
            color: #2575fc;
            border: none;
            padding: 15px 40px;
            border-radius: 50px;
            font-size: 28px;
            font-weight: bold;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            cursor: pointer;
        }
        
        /* 推广卡片 */
        .card {
            background: white;
            border-radius: 25px;
            padding: 30px;
            margin: 30px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
        }
        
        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }
        
        .card-title {
            font-size: 34px;
            font-weight: bold;
            color: #2c3e50;
        }
        
        .card-icon {
            color: #2575fc;
            font-size: 40px;
        }
        
        /* 推广二维码 */
        .qrcode-container {
            text-align: center;
            padding: 20px 0;
        }
        
        .qrcode {
            width: 350px;
            height: 350px;
            margin: 0 auto;
            background: #f8f9fa;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 100px;
            color: #2575fc;
            position: relative;
        }
        
        .qrcode-logo {
            position: absolute;
            width: 70px;
            height: 70px;
            background: white;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            color: #2575fc;
        }
        
        .qrcode-tip {
            margin-top: 25px;
            font-size: 28px;
            color: #7f8c8d;
        }
        
        .action-buttons {
            display: flex;
            justify-content: space-between;
            margin-top: 40px;
        }
        
        .action-btn {
            flex: 1;
            padding: 25px;
            border-radius: 15px;
            font-size: 28px;
            text-align: center;
            font-weight: bold;
            margin: 0 10px;
            cursor: pointer;
        }
        
        .copy-link {
            background: #e3f2fd;
            color: #2575fc;
        }
        
        .save-qrcode {
            background: #2575fc;
            color: white;
        }
        
        /* 推广数据 */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 20px;
        }
        
        .stat-item {
            background: #f8f9fa;
            border-radius: 20px;
            padding: 25px;
            text-align: center;
        }
        
        .stat-value {
            font-size: 40px;
            font-weight: bold;
            color: #2575fc;
            margin-bottom: 10px;
        }
        
        .stat-label {
            font-size: 26px;
            color: #7f8c8d;
        }
        
        /* 分销数据 */
        .dist-data {
            margin-top: 30px;
        }
        
        .data-row {
            display: flex;
            justify-content: space-between;
            padding: 25px 0;
            border-bottom: 1px solid #eee;
        }
        
        .data-row:last-child {
            border-bottom: none;
        }
        
        .data-label {
            color: #7f8c8d;
        }
        
        .data-value {
            font-weight: bold;
            color: #2c3e50;
        }
        
        /* 平台扣点 */
        .fee-levels {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
        }
        
        .level-card {
            background: #f8f9fa;
            border-radius: 20px;
            padding: 30px;
            width: 48%;
            text-align: center;
        }
        
        .level-title {
            font-size: 32px;
            font-weight: bold;
            margin-bottom: 15px;
        }
        
        .level-fee {
            font-size: 48px;
            font-weight: bold;
            color: #e74c3c;
            margin-bottom: 20px;
        }
        
        .level-desc {
            font-size: 26px;
            color: #7f8c8d;
            line-height: 1.4;
        }
        
        .upgrade-btn {
            background: #ff9f43;
            color: white;
            border: none;
            padding: 15px 0;
            border-radius: 15px;
            font-size: 28px;
            font-weight: bold;
            width: 100%;
            margin-top: 20px;
            cursor: pointer;
        }
        
        /* 底部导航 */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 750px;
            background: white;
            display: flex;
            justify-content: space-around;
            padding: 20px 0;
            box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
            z-index: 100;
        }
        
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            font-size: 24px;
            color: #95a5a6;
        }
        
        .nav-item.active {
            color: #2575fc;
        }
        
        .nav-icon {
            font-size: 40px;
            margin-bottom: 8px;
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 用户信息头部 -->
        <div class="user-header">
            <div class="user-info">
                <div class="avatar">
                    <img src="data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 24 24'%3E%3Cpath fill='%232575fc' d='M12 12q-1.65 0-2.825-1.175T8 8q0-1.65 1.175-2.825T12 4q1.65 0 2.825 1.175T16 8q0 1.65-1.175 2.825T12 12Zm-8 8v-2.8q0-.85.438-1.563T5.6 14.55q1.55-.775 3.15-1.163T12 13q1.65 0 3.25.388t3.15 1.162q.725.375 1.163 1.088T20 17.2V20H4Z'/%3E%3C/svg%3E" alt="用户头像">
                </div>
                <div class="user-detail">
                    <h2>张推广达人</h2>
                    <p>ID: 888888 <span class="vip-badge">SVIP会员</span></p>
                </div>
            </div>
            
            <div class="wallet-info">
                <div class="balance">
                    <div class="balance-label">可提现奖励</div>
                    <div class="balance-amount">¥ 1,568.50</div>
                </div>
                <button class="withdraw-btn">提现到微信</button>
            </div>
        </div>
        
        <!-- 推广二维码卡片 -->
        <div class="card">
            <div class="card-header">
                <div class="card-title">我的推广二维码</div>
                <i class="fas fa-qrcode card-icon"></i>
            </div>
            
            <div class="qrcode-container">
                <div class="qrcode">
                    <i class="fas fa-qrcode"></i>
                    <div class="qrcode-logo">
                        <i class="fas fa-crown"></i>
                    </div>
                </div>
                <div class="qrcode-tip">扫码注册成为您的专属会员</div>
            </div>
            
            <div class="action-buttons">
                <div class="action-btn copy-link">
                    <i class="fas fa-link"></i> 复制推广链接
                </div>
                <div class="action-btn save-qrcode">
                    <i class="fas fa-download"></i> 保存二维码
                </div>
            </div>
        </div>
        
        <!-- 推广数据卡片 -->
        <div class="card">
            <div class="card-header">
                <div class="card-title">推广数据统计</div>
                <i class="fas fa-chart-line card-icon"></i>
            </div>
            
            <div class="stats-grid">
                <div class="stat-item">
                    <div class="stat-value">128</div>
                    <div class="stat-label">总推广会员</div>
                </div>
                <div class="stat-item">
                    <div class="stat-value">86</div>
                    <div class="stat-label">已消费会员</div>
                </div>
                <div class="stat-item">
                    <div class="stat-value">42</div>
                    <div class="stat-label">未消费会员</div>
                </div>
            </div>
        </div>
        
        <!-- 分销数据卡片 -->
        <div class="card">
            <div class="card-header">
                <div class="card-title">推广奖励明细</div>
                <i class="fas fa-money-bill-wave card-icon"></i>
            </div>
            
            <div class="dist-data">
                <div class="data-row">
                    <div class="data-label">直接推荐会员</div>
                    <div class="data-value">86人</div>
                </div>
                <div class="data-row">
                    <div class="data-label">团队会员总数</div>
                    <div class="data-value">243人</div>
                </div>
                <div class="data-row">
                    <div class="data-label">团队消费总额</div>
                    <div class="data-value">¥ 86,420.50</div>
                </div>
                <div class="data-row">
                    <div class="data-label">累计奖励金额</div>
                    <div class="data-value">¥ 3,856.80</div>
                </div>
                <div class="data-row">
                    <div class="data-label">本月预估收益</div>
                    <div class="data-value">¥ 1,245.60</div>
                </div>
            </div>
        </div>
        
        <!-- 平台扣点卡片 -->
        <div class="card">
            <div class="card-header">
                <div class="card-title">平台扣点比例</div>
                <i class="fas fa-percent card-icon"></i>
            </div>
            
            <div class="fee-levels">
                <div class="level-card">
                    <div class="level-title">普通会员</div>
                    <div class="level-fee">15%</div>
                    <div class="level-desc">平台信息服务费比例</div>
                </div>
                
                <div class="level-card">
                    <div class="level-title">SVIP会员</div>
                    <div class="level-fee">5%</div>
                    <div class="level-desc">平台信息服务费比例</div>
                    <button class="upgrade-btn">立即升级</button>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 底部导航 -->
    <div class="bottom-nav">
        <div class="nav-item">
            <i class="fas fa-home nav-icon"></i>
            <div>首页</div>
        </div>
        <div class="nav-item">
            <i class="fas fa-users nav-icon"></i>
            <div>团队</div>
        </div>
        <div class="nav-item active">
            <i class="fas fa-user nav-icon"></i>
            <div>我的</div>
        </div>
        <div class="nav-item">
            <i class="fas fa-wallet nav-icon"></i>
            <div>钱包</div>
        </div>
        <div class="nav-item">
            <i class="fas fa-cog nav-icon"></i>
            <div>设置</div>
        </div>
    </div>

    <script>
        // 模拟二维码生成
        document.querySelector('.save-qrcode').addEventListener('click', function() {
            alert('推广二维码已保存到相册');
        });
        
        // 复制推广链接
        document.querySelector('.copy-link').addEventListener('click', function() {
            alert('推广链接已复制到剪贴板');
        });
        
        // 提现按钮
        document.querySelector('.withdraw-btn').addEventListener('click', function() {
            alert('提现申请已提交，将在1-3个工作日内到账');
        });
        
        // 升级会员
        document.querySelector('.upgrade-btn').addEventListener('click', function() {
            alert('正在跳转SVIP会员升级页面');
        });
    </script>
</body>
</html>